const dynamicRouters = [
  {
    path: '/',
    component: () => import(/* webpackChunkName: "layout" */ '../views/layout/index.vue'),
    children: [
      {
        path: '',
        name: 'home',
        component: () => import(/* webpackChunkName: "home" */ '../views/home/index.vue'),
        meta: {
          title: '首页',
          icon: 'bx bx-home-heart'
        }
      },
      {
        path: '/systemManage',
        name: 'systemManage',
        component: () => import(/* webpackChunkName: "systemManage" */ '../views/systemManage/index.vue'),
        meta: {
          title: '系统管理',
          icon: 'bx bx-cog'
        },
        children: [
          {
            path: 'userManage',
            name: 'userManage',
            component: () => import(/* webpackChunkName: "userManage" */ '../views/systemManage/userManage/index1.vue'),
            meta: {
              title: '用户管理'
            }
          }
        ]
      }
    ]
  }
];

export default dynamicRouters;
